﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CurrentActivityUser.aspx.cs" Inherits="Swimming.Manage.CurrentActivityUser" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    
        <h1>品高软件游泳活动名单</h1>
        <asp:GridView ID="GridView1" runat="server" DataSourceID="SqlDataSource1" Width="600px">
            <RowStyle HorizontalAlign="Center" />
            <EmptyDataTemplate>
                暂无数据
            </EmptyDataTemplate>
        </asp:GridView>
        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:DefaultDB %>" 
            SelectCommand="SELECT UserName AS 姓名, (SELECT MobilePhone FROM SEC_User WHERE (Sec_User.ID = Bis_ActivityUser.UserID)) AS 手机, Code AS 验证码 FROM Bis_ActivityUser WHERE (IsEnter = 1) AND (SignIn = 0) AND (ActivityID = @ActivityID)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ActivityID" QueryStringField="Id" />
            </SelectParameters>
        </asp:SqlDataSource>
    
    </div>
    </form>
</body>
</html>
